package com.iddaa.core;




import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {

	public static void main(String[] args)  {
		@SuppressWarnings("unused")
		ApplicationContext context = new ClassPathXmlApplicationContext("classpath:applicationContext-core.xml");
		//aziz
//		LeagueService leagueService = context.getBean(LeagueService.class);
//		League league = new League();
//		league.setName("aziz");
//		league.setCountry(Country.TR);
//		league.setStatus(Status.ACTIVE);
//		leagueService.saveLeague(league);
//		League league2 = new League();
//		league2.setName("TSL");
//		leagueService.saveLeague(league2);
//		
		
	}
	

}
